using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public abstract class AccountItem
{
    private DateTime date;
    private DateTime createDate;
    private DateTime updateDate;
    private string accountCode;
    private string accountTitle;
    private decimal valueAmount;

    public DateTime Date
    {
        get { return date; }
        set { date = value; }
    }

    public DateTime CreateDate
    {
        get { return createDate; }
        set { createDate = value; }
    }

    public DateTime UpdateDate
    {
        get { return updateDate; }
        set { updateDate = value; }
    }

    public string AccountCode
    {
        get { return accountCode; }
        set { accountCode = value; }
    }

    public string AccountTitle
    {
        get { return accountTitle; }
        set { accountTitle = value; }
    }

    public decimal ValueAmount
    {
        get { return valueAmount; }
        set { valueAmount = value; }
    }

    protected AccountItem() { }

    protected AccountItem(
        DateTime date,
        DateTime createDate,
        DateTime updateDate,
        decimal valueAmount)
    {
        this.date = date;
        this.createDate = createDate;
        this.updateDate = updateDate;
        this.valueAmount = valueAmount;
    }
}
